package com.lwlk.zdk.Timer;

import com.lwlk.zdk.mapper.pw.pwCheckTheDutyMessageMapper;
import com.lwlk.zdk.mapper.sys.sysEnterpriseMapper;
import com.lwlk.zdk.mapper.sys.sysUserMapper;
import com.lwlk.zdk.model.pw.pwCheckTheDutyMessage;
import com.lwlk.zdk.model.task.pwTask;
import com.lwlk.zdk.service.PostService.impl.PostMessageServiceImpl;
import com.lwlk.zdk.service.Task.impl.TaskServiceImpl;
import java.util.TimerTask;

public class AddPostCheckTask extends TimerTask {



    private PostMessageServiceImpl PostMessageServiceImpl;
    private Integer id;
    public AddPostCheckTask(int id, PostMessageServiceImpl PostMessageServiceImpl) {
        this.id = id;
        this.PostMessageServiceImpl = PostMessageServiceImpl;
    }



    @Override
    public void run() {
        int i= this.PostMessageServiceImpl.addDuty(this.id);

    }
}
